Error processing SSI file
LEADTOOLS Caching (Leadtools.Caching assembly)

Show in webframe

Set<T>(CacheItem<T>,CacheItemPolicy) Method






Cache item to add.
Item expiration policy.
Adds an item into the cache.
Syntax
public override void Set<T>( 
   CacheItem<T> item,
   CacheItemPolicy policy
)
'Declaration
 
Public Overloads Overrides Sub Set(Of T)( _
   ByVal item As CacheItem(Of T), _
   ByVal policy As CacheItemPolicy _
) 
'Usage
 
Dim instance As FileCache
Dim item As CacheItem(Of T)
Dim policy As CacheItemPolicy
 
instance.Set(Of T)(item, policy)
@Override
public <T> void set(CacheItem<T> item, Class<?> classOfT, CacheItemPolicy policy)
            
public:
void Setgeneric<typename T>
( 
   CacheItem<T^>^ item,
   CacheItemPolicy^ policy
) override 

Parameters

item
Cache item to add.
policy
Item expiration policy.

Type Parameters

T
Remarks

If the item is already in the cache, then it will be replaced with the new item and its policy updated.

Requirements

Target Platforms

See Also

Reference

FileCache Class
FileCache Members
Overload List

Error processing SSI file
Leadtools.Caching requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features